"""

@Time: 2021/2/9 17:32
@Author:
@File: es_mapping.py
"""
from elasticsearch import Elasticsearch
from config import es_conf

es = Elasticsearch()


es.indices.create(es_conf.INDEX_NAME)
